package com.open.api.wechat.app.request;

import com.open.api.wechat.app.response.WeChatPaidUnionIdResponse;
import com.open.api.wechat.common.WeChatCommonRequest;
import com.open.api.wechat.constants.WeChatAppUrlConstants;
import lombok.Data;

/**
 * @author : zhaoxuan
 * @date : 2021/7/1 12:57
 * @description : WeChatPaidUnionIdRequest
 * @version: 1.0
 */
@Data
public class WeChatPaidUnionIdRequest extends WeChatCommonRequest<WeChatPaidUnionIdResponse> {

    private String access_token;

    private String openId;

    private String transaction_id;

    private String mch_id;

    private String out_trade_no;

    @Override
    public String getDefaultUrl() {
        return WeChatAppUrlConstants.APP_PAID_UNIONID;
    }

    @Override
    public Class<WeChatPaidUnionIdResponse> getResponse() {
        return WeChatPaidUnionIdResponse.class;
    }
}
